package exp3.p4;
import exp3.p3.*;

public class MainTest {
    public static void forTest() {
        Weather weather = new Weather();
        weather.setState(new Sunny());
        weather.show();
        weather.setState(new Cloudy());
        weather.show();
        weather.setState(new Rainy());
        weather.show();
        weather.setState(new Snowy());
        weather.show();
        System.out.println();

}

    public static void main(String[] agrs) {
        forTest();
    }

    // public static void method(WeatherState a) {
        // a.showState();
    // }
}
